import request from '@/utils/request'

export function addByDeptAndGrid(data) {
  return request({
    url: '/web-api/system/dept-area/addByDeptAndGrid',
    method: 'post',
    data
  })
}

export function list(params) {
  return request({
    url: '/web-api/system/dept-area/list',
    method: 'get',
    params: params
  })
}
